package io.wdb.modules.activity.wxapp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wxapp.dao.HdLotteryActivityDao;
import io.wdb.modules.activity.wxapp.entity.HdLotteryActivityEntity;
import io.wdb.modules.activity.wxapp.service.HdLotteryActivityService;

import java.util.List;
import java.util.Map;



@Service("hdLotteryActivityService")
public class HdLotteryActivityServiceImpl implements HdLotteryActivityService {
	@Autowired
	private HdLotteryActivityDao hdLotteryActivityDao;
	
	@Override
	public HdLotteryActivityEntity queryObject(String id){
		return hdLotteryActivityDao.queryObject(id);
	}
	
	@Override
	public List<HdLotteryActivityEntity> queryList(Map<String, Object> map){
		return hdLotteryActivityDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hdLotteryActivityDao.queryTotal(map);
	}
	
	@Override
	public void save(HdLotteryActivityEntity hdLotteryActivity){
		hdLotteryActivityDao.save(hdLotteryActivity);
	}
	
	@Override
	public void update(HdLotteryActivityEntity hdLotteryActivity){
		hdLotteryActivityDao.update(hdLotteryActivity);
	}
	
	@Override
	public void delete(String id){
		hdLotteryActivityDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		hdLotteryActivityDao.deleteBatch(ids);
	}
	
}
